using INTEX.DataBase;
using ReflectionStudio.Core.Events;
using System;
using System.Data;
using System.Windows;
using System.Windows.Data;
using System.Collections.Generic;
namespace WPFExcelReport
{
    public partial class VBASTKE 
    {

        public DataSet LOADBYWS(Dictionary<string, object> pm)
        {

            dwData = TBMain.NewRow();
            dwData["WTGMANDANT"] = app.Mandant;
            dwData["WTGART"] = pm["ART"].ToString();
            dwData["WTGVAR"] = pm["VAR"].ToString();
            //SResult = QWTGEW01(dwData);
            return SResult;
        }
        public DataSet CREATEBYWS(Dictionary<string, object> pm)
        {
            dwData = TBMain.NewRow();
            //SetUpNewRow(ref dwData);
            dwData["WTGMANDANT"] = app.Mandant;
            dwData["WTGART"] = pm["ART"].ToString();
            dwData["WTGVAR"] = pm["VAR"].ToString();
            TBMain.Rows.InsertAt(dwData, 0);
            //InsertWTGEW(dwData);
            return SResult;
        }
    }
}
